package day10.Exer;

public class Diagramtest {
    public static void main(String[] args) {
        Diagram m=new Circle("圆",2);
        Diagram n=new Rectage("长方形",4.5,2.5);
        Diagram l=new Triangle("三角形",3,4,5);
        m.show();
        n.show();
        l.show();


    }
}
